#pragma once

#include <string>

//*********************************************
#define A 48271L 
#define M 2147483647L 
#define Q (M / A) 
#define R (M % A) 

static unsigned long Seed = time(NULL);

double Random();
//*********************************************

UINT CalcSquareWidth(const CRect& rect, UINT nRow, UINT nCol);
UINT GetRandomNumber(UINT min, UINT max);
std::string GetTimeString();